import Vue from 'vue'
import Router from 'vue-router'
import Index from '@/page/index'
import News from '@/page/news'
import Dailyessays from '@/page/dailyessays'
import Hotnews from '@/page/hotnews'
import Healthyhome from '@/page/healthyhome'
import Laughterworld from '@/page/laughterworld'
import Socialscience from '@/page/socialscience'


import Travelsketch from '@/page/travelsketch'

import Driedgoods from '@/page/driedgoods'
import Artscenter from '@/page/artscenter'
import View from '@/page/view'


Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Index',
      component: Index
    },
    {
      path: '/Index',
      name: 'Index',
      component: Index
    },
    {
      path: '/News',
      name: 'News',
      component: News
    },
    {
      path: '/Dailyessays',
      name: 'Dailyessays',
      component: Dailyessays
    },
    {
      path: '/Hotnews',
      name: 'Hotnews',
      component: Hotnews
    },
    {
      path: '/Healthyhome',
      name: 'Healthyhome',
      component: Healthyhome
    },
    {
      path: '/Laughterworld',
      name: 'Laughterworld',
      component: Laughterworld
    },
    {
      path: '/Socialscience',
      name: 'Socialscience',
      component: Socialscience
    },
    
    {
      path: '/Travelsketch',
      name: 'Travelsketch',
      component: Travelsketch
    },
    {
      path: '/Driedgoods',
      name: 'Driedgoods',
      component: Driedgoods
    },
    {
      path: '/Artscenter',
      name: 'Artscenter',
      component: Artscenter
    },
    {
      path: '/View/:guid',
      name: 'View',
      component: View
    }
  ],
  linkActiveClass:"headeractive"
})
